load("//tools:defs.bzl", "go_library")

package(
    default_applicable_licenses = ["//:license"],
    licenses = ["notice"],
)

go_library(
    name = "testutil",
    testonly = 1,
    srcs = [
        "sh.go",
        "testutil.go",
        "testutil_runfiles.go",
        "tree.go",
    ],
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/sentry/watchdog",
        "//pkg/sync",
        "//runsc/config",
        "//runsc/flag",
        "//runsc/specutils",
        "@com_github_cenkalti_backoff//:go_default_library",
        "@com_github_kr_pty//:go_default_library",
        "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
        "@org_golang_x_sys//unix:go_default_library",
    ],
)
